package com.aefan.springcloud.alibaba.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @Author: jxl
 * @Date: 2021/9/21 下午10:18
 */
@Mapper
public interface AccountDao {

    /** 扣减账户余额 */
    void decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);

}
